package com.easy.system.filter;
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


import javax.servlet.*;
import javax.servlet.http.HttpServletRequest;
import java.io.IOException;


public class FormParamsFilter implements Filter{
    protected FilterConfig filterConfig = null;
    public void init(FilterConfig filterConfig) throws ServletException {
        this.filterConfig = filterConfig;
    }

    public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {
        System.out.println("form interceptor");
        chain.doFilter(request, response);
    }

    public void destroy() {
        this.filterConfig = null;
    }
}
